package com.zyht.bank.entity;

import java.util.ArrayList;
import java.util.List;

public class AxdCustloanInfoExample {
    /*
     * axd_custloan_info
     */
    protected String orderByClause;

    /*
     * axd_custloan_info
     */
    protected boolean distinct;

    /*
     * axd_custloan_info
     */
    protected List<Criteria> oredCriteria;

    public AxdCustloanInfoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * axd_custloan_info
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andLoanIdIsNull() {
            addCriterion("loan_id is null");
            return (Criteria) this;
        }

        public Criteria andLoanIdIsNotNull() {
            addCriterion("loan_id is not null");
            return (Criteria) this;
        }

        public Criteria andLoanIdEqualTo(Integer value) {
            addCriterion("loan_id =", value, "loanId");
            return (Criteria) this;
        }

        public Criteria andLoanIdNotEqualTo(Integer value) {
            addCriterion("loan_id <>", value, "loanId");
            return (Criteria) this;
        }

        public Criteria andLoanIdGreaterThan(Integer value) {
            addCriterion("loan_id >", value, "loanId");
            return (Criteria) this;
        }

        public Criteria andLoanIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("loan_id >=", value, "loanId");
            return (Criteria) this;
        }

        public Criteria andLoanIdLessThan(Integer value) {
            addCriterion("loan_id <", value, "loanId");
            return (Criteria) this;
        }

        public Criteria andLoanIdLessThanOrEqualTo(Integer value) {
            addCriterion("loan_id <=", value, "loanId");
            return (Criteria) this;
        }

        public Criteria andLoanIdIn(List<Integer> values) {
            addCriterion("loan_id in", values, "loanId");
            return (Criteria) this;
        }

        public Criteria andLoanIdNotIn(List<Integer> values) {
            addCriterion("loan_id not in", values, "loanId");
            return (Criteria) this;
        }

        public Criteria andLoanIdBetween(Integer value1, Integer value2) {
            addCriterion("loan_id between", value1, value2, "loanId");
            return (Criteria) this;
        }

        public Criteria andLoanIdNotBetween(Integer value1, Integer value2) {
            addCriterion("loan_id not between", value1, value2, "loanId");
            return (Criteria) this;
        }

        public Criteria andDebtDueMoneyIsNull() {
            addCriterion("debt_due_money is null");
            return (Criteria) this;
        }

        public Criteria andDebtDueMoneyIsNotNull() {
            addCriterion("debt_due_money is not null");
            return (Criteria) this;
        }

        public Criteria andDebtDueMoneyEqualTo(Long value) {
            addCriterion("debt_due_money =", value, "debtDueMoney");
            return (Criteria) this;
        }

        public Criteria andDebtDueMoneyNotEqualTo(Long value) {
            addCriterion("debt_due_money <>", value, "debtDueMoney");
            return (Criteria) this;
        }

        public Criteria andDebtDueMoneyGreaterThan(Long value) {
            addCriterion("debt_due_money >", value, "debtDueMoney");
            return (Criteria) this;
        }

        public Criteria andDebtDueMoneyGreaterThanOrEqualTo(Long value) {
            addCriterion("debt_due_money >=", value, "debtDueMoney");
            return (Criteria) this;
        }

        public Criteria andDebtDueMoneyLessThan(Long value) {
            addCriterion("debt_due_money <", value, "debtDueMoney");
            return (Criteria) this;
        }

        public Criteria andDebtDueMoneyLessThanOrEqualTo(Long value) {
            addCriterion("debt_due_money <=", value, "debtDueMoney");
            return (Criteria) this;
        }

        public Criteria andDebtDueMoneyIn(List<Long> values) {
            addCriterion("debt_due_money in", values, "debtDueMoney");
            return (Criteria) this;
        }

        public Criteria andDebtDueMoneyNotIn(List<Long> values) {
            addCriterion("debt_due_money not in", values, "debtDueMoney");
            return (Criteria) this;
        }

        public Criteria andDebtDueMoneyBetween(Long value1, Long value2) {
            addCriterion("debt_due_money between", value1, value2, "debtDueMoney");
            return (Criteria) this;
        }

        public Criteria andDebtDueMoneyNotBetween(Long value1, Long value2) {
            addCriterion("debt_due_money not between", value1, value2, "debtDueMoney");
            return (Criteria) this;
        }

        public Criteria andDebtDueAgingIsNull() {
            addCriterion("debt_due_aging is null");
            return (Criteria) this;
        }

        public Criteria andDebtDueAgingIsNotNull() {
            addCriterion("debt_due_aging is not null");
            return (Criteria) this;
        }

        public Criteria andDebtDueAgingEqualTo(Integer value) {
            addCriterion("debt_due_aging =", value, "debtDueAging");
            return (Criteria) this;
        }

        public Criteria andDebtDueAgingNotEqualTo(Integer value) {
            addCriterion("debt_due_aging <>", value, "debtDueAging");
            return (Criteria) this;
        }

        public Criteria andDebtDueAgingGreaterThan(Integer value) {
            addCriterion("debt_due_aging >", value, "debtDueAging");
            return (Criteria) this;
        }

        public Criteria andDebtDueAgingGreaterThanOrEqualTo(Integer value) {
            addCriterion("debt_due_aging >=", value, "debtDueAging");
            return (Criteria) this;
        }

        public Criteria andDebtDueAgingLessThan(Integer value) {
            addCriterion("debt_due_aging <", value, "debtDueAging");
            return (Criteria) this;
        }

        public Criteria andDebtDueAgingLessThanOrEqualTo(Integer value) {
            addCriterion("debt_due_aging <=", value, "debtDueAging");
            return (Criteria) this;
        }

        public Criteria andDebtDueAgingIn(List<Integer> values) {
            addCriterion("debt_due_aging in", values, "debtDueAging");
            return (Criteria) this;
        }

        public Criteria andDebtDueAgingNotIn(List<Integer> values) {
            addCriterion("debt_due_aging not in", values, "debtDueAging");
            return (Criteria) this;
        }

        public Criteria andDebtDueAgingBetween(Integer value1, Integer value2) {
            addCriterion("debt_due_aging between", value1, value2, "debtDueAging");
            return (Criteria) this;
        }

        public Criteria andDebtDueAgingNotBetween(Integer value1, Integer value2) {
            addCriterion("debt_due_aging not between", value1, value2, "debtDueAging");
            return (Criteria) this;
        }

        public Criteria andDebtDueKindIsNull() {
            addCriterion("debt_due_kind is null");
            return (Criteria) this;
        }

        public Criteria andDebtDueKindIsNotNull() {
            addCriterion("debt_due_kind is not null");
            return (Criteria) this;
        }

        public Criteria andDebtDueKindEqualTo(String value) {
            addCriterion("debt_due_kind =", value, "debtDueKind");
            return (Criteria) this;
        }

        public Criteria andDebtDueKindNotEqualTo(String value) {
            addCriterion("debt_due_kind <>", value, "debtDueKind");
            return (Criteria) this;
        }

        public Criteria andDebtDueKindGreaterThan(String value) {
            addCriterion("debt_due_kind >", value, "debtDueKind");
            return (Criteria) this;
        }

        public Criteria andDebtDueKindGreaterThanOrEqualTo(String value) {
            addCriterion("debt_due_kind >=", value, "debtDueKind");
            return (Criteria) this;
        }

        public Criteria andDebtDueKindLessThan(String value) {
            addCriterion("debt_due_kind <", value, "debtDueKind");
            return (Criteria) this;
        }

        public Criteria andDebtDueKindLessThanOrEqualTo(String value) {
            addCriterion("debt_due_kind <=", value, "debtDueKind");
            return (Criteria) this;
        }

        public Criteria andDebtDueKindLike(String value) {
            addCriterion("debt_due_kind like", value, "debtDueKind");
            return (Criteria) this;
        }

        public Criteria andDebtDueKindNotLike(String value) {
            addCriterion("debt_due_kind not like", value, "debtDueKind");
            return (Criteria) this;
        }

        public Criteria andDebtDueKindIn(List<String> values) {
            addCriterion("debt_due_kind in", values, "debtDueKind");
            return (Criteria) this;
        }

        public Criteria andDebtDueKindNotIn(List<String> values) {
            addCriterion("debt_due_kind not in", values, "debtDueKind");
            return (Criteria) this;
        }

        public Criteria andDebtDueKindBetween(String value1, String value2) {
            addCriterion("debt_due_kind between", value1, value2, "debtDueKind");
            return (Criteria) this;
        }

        public Criteria andDebtDueKindNotBetween(String value1, String value2) {
            addCriterion("debt_due_kind not between", value1, value2, "debtDueKind");
            return (Criteria) this;
        }

        public Criteria andDebtDueUseIsNull() {
            addCriterion("debt_due_use is null");
            return (Criteria) this;
        }

        public Criteria andDebtDueUseIsNotNull() {
            addCriterion("debt_due_use is not null");
            return (Criteria) this;
        }

        public Criteria andDebtDueUseEqualTo(String value) {
            addCriterion("debt_due_use =", value, "debtDueUse");
            return (Criteria) this;
        }

        public Criteria andDebtDueUseNotEqualTo(String value) {
            addCriterion("debt_due_use <>", value, "debtDueUse");
            return (Criteria) this;
        }

        public Criteria andDebtDueUseGreaterThan(String value) {
            addCriterion("debt_due_use >", value, "debtDueUse");
            return (Criteria) this;
        }

        public Criteria andDebtDueUseGreaterThanOrEqualTo(String value) {
            addCriterion("debt_due_use >=", value, "debtDueUse");
            return (Criteria) this;
        }

        public Criteria andDebtDueUseLessThan(String value) {
            addCriterion("debt_due_use <", value, "debtDueUse");
            return (Criteria) this;
        }

        public Criteria andDebtDueUseLessThanOrEqualTo(String value) {
            addCriterion("debt_due_use <=", value, "debtDueUse");
            return (Criteria) this;
        }

        public Criteria andDebtDueUseLike(String value) {
            addCriterion("debt_due_use like", value, "debtDueUse");
            return (Criteria) this;
        }

        public Criteria andDebtDueUseNotLike(String value) {
            addCriterion("debt_due_use not like", value, "debtDueUse");
            return (Criteria) this;
        }

        public Criteria andDebtDueUseIn(List<String> values) {
            addCriterion("debt_due_use in", values, "debtDueUse");
            return (Criteria) this;
        }

        public Criteria andDebtDueUseNotIn(List<String> values) {
            addCriterion("debt_due_use not in", values, "debtDueUse");
            return (Criteria) this;
        }

        public Criteria andDebtDueUseBetween(String value1, String value2) {
            addCriterion("debt_due_use between", value1, value2, "debtDueUse");
            return (Criteria) this;
        }

        public Criteria andDebtDueUseNotBetween(String value1, String value2) {
            addCriterion("debt_due_use not between", value1, value2, "debtDueUse");
            return (Criteria) this;
        }

        public Criteria andFollowManageIsNull() {
            addCriterion("follow_manage is null");
            return (Criteria) this;
        }

        public Criteria andFollowManageIsNotNull() {
            addCriterion("follow_manage is not null");
            return (Criteria) this;
        }

        public Criteria andFollowManageEqualTo(String value) {
            addCriterion("follow_manage =", value, "followManage");
            return (Criteria) this;
        }

        public Criteria andFollowManageNotEqualTo(String value) {
            addCriterion("follow_manage <>", value, "followManage");
            return (Criteria) this;
        }

        public Criteria andFollowManageGreaterThan(String value) {
            addCriterion("follow_manage >", value, "followManage");
            return (Criteria) this;
        }

        public Criteria andFollowManageGreaterThanOrEqualTo(String value) {
            addCriterion("follow_manage >=", value, "followManage");
            return (Criteria) this;
        }

        public Criteria andFollowManageLessThan(String value) {
            addCriterion("follow_manage <", value, "followManage");
            return (Criteria) this;
        }

        public Criteria andFollowManageLessThanOrEqualTo(String value) {
            addCriterion("follow_manage <=", value, "followManage");
            return (Criteria) this;
        }

        public Criteria andFollowManageLike(String value) {
            addCriterion("follow_manage like", value, "followManage");
            return (Criteria) this;
        }

        public Criteria andFollowManageNotLike(String value) {
            addCriterion("follow_manage not like", value, "followManage");
            return (Criteria) this;
        }

        public Criteria andFollowManageIn(List<String> values) {
            addCriterion("follow_manage in", values, "followManage");
            return (Criteria) this;
        }

        public Criteria andFollowManageNotIn(List<String> values) {
            addCriterion("follow_manage not in", values, "followManage");
            return (Criteria) this;
        }

        public Criteria andFollowManageBetween(String value1, String value2) {
            addCriterion("follow_manage between", value1, value2, "followManage");
            return (Criteria) this;
        }

        public Criteria andFollowManageNotBetween(String value1, String value2) {
            addCriterion("follow_manage not between", value1, value2, "followManage");
            return (Criteria) this;
        }

        public Criteria andRemark1IsNull() {
            addCriterion("remark1 is null");
            return (Criteria) this;
        }

        public Criteria andRemark1IsNotNull() {
            addCriterion("remark1 is not null");
            return (Criteria) this;
        }

        public Criteria andRemark1EqualTo(String value) {
            addCriterion("remark1 =", value, "remark1");
            return (Criteria) this;
        }

        public Criteria andRemark1NotEqualTo(String value) {
            addCriterion("remark1 <>", value, "remark1");
            return (Criteria) this;
        }

        public Criteria andRemark1GreaterThan(String value) {
            addCriterion("remark1 >", value, "remark1");
            return (Criteria) this;
        }

        public Criteria andRemark1GreaterThanOrEqualTo(String value) {
            addCriterion("remark1 >=", value, "remark1");
            return (Criteria) this;
        }

        public Criteria andRemark1LessThan(String value) {
            addCriterion("remark1 <", value, "remark1");
            return (Criteria) this;
        }

        public Criteria andRemark1LessThanOrEqualTo(String value) {
            addCriterion("remark1 <=", value, "remark1");
            return (Criteria) this;
        }

        public Criteria andRemark1Like(String value) {
            addCriterion("remark1 like", value, "remark1");
            return (Criteria) this;
        }

        public Criteria andRemark1NotLike(String value) {
            addCriterion("remark1 not like", value, "remark1");
            return (Criteria) this;
        }

        public Criteria andRemark1In(List<String> values) {
            addCriterion("remark1 in", values, "remark1");
            return (Criteria) this;
        }

        public Criteria andRemark1NotIn(List<String> values) {
            addCriterion("remark1 not in", values, "remark1");
            return (Criteria) this;
        }

        public Criteria andRemark1Between(String value1, String value2) {
            addCriterion("remark1 between", value1, value2, "remark1");
            return (Criteria) this;
        }

        public Criteria andRemark1NotBetween(String value1, String value2) {
            addCriterion("remark1 not between", value1, value2, "remark1");
            return (Criteria) this;
        }

        public Criteria andRemark2IsNull() {
            addCriterion("remark2 is null");
            return (Criteria) this;
        }

        public Criteria andRemark2IsNotNull() {
            addCriterion("remark2 is not null");
            return (Criteria) this;
        }

        public Criteria andRemark2EqualTo(String value) {
            addCriterion("remark2 =", value, "remark2");
            return (Criteria) this;
        }

        public Criteria andRemark2NotEqualTo(String value) {
            addCriterion("remark2 <>", value, "remark2");
            return (Criteria) this;
        }

        public Criteria andRemark2GreaterThan(String value) {
            addCriterion("remark2 >", value, "remark2");
            return (Criteria) this;
        }

        public Criteria andRemark2GreaterThanOrEqualTo(String value) {
            addCriterion("remark2 >=", value, "remark2");
            return (Criteria) this;
        }

        public Criteria andRemark2LessThan(String value) {
            addCriterion("remark2 <", value, "remark2");
            return (Criteria) this;
        }

        public Criteria andRemark2LessThanOrEqualTo(String value) {
            addCriterion("remark2 <=", value, "remark2");
            return (Criteria) this;
        }

        public Criteria andRemark2Like(String value) {
            addCriterion("remark2 like", value, "remark2");
            return (Criteria) this;
        }

        public Criteria andRemark2NotLike(String value) {
            addCriterion("remark2 not like", value, "remark2");
            return (Criteria) this;
        }

        public Criteria andRemark2In(List<String> values) {
            addCriterion("remark2 in", values, "remark2");
            return (Criteria) this;
        }

        public Criteria andRemark2NotIn(List<String> values) {
            addCriterion("remark2 not in", values, "remark2");
            return (Criteria) this;
        }

        public Criteria andRemark2Between(String value1, String value2) {
            addCriterion("remark2 between", value1, value2, "remark2");
            return (Criteria) this;
        }

        public Criteria andRemark2NotBetween(String value1, String value2) {
            addCriterion("remark2 not between", value1, value2, "remark2");
            return (Criteria) this;
        }
    }

    /**
     * axd_custloan_info
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * axd_custloan_info
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}